Linux: The Art of Linux for Beginners by Maxi Grey

Linux: The Art of Linux for Beginners by Maxi Grey

Author:Maxi Grey
Language: eng
Format: azw3, epub, pdf
Published: 2017-05-27T07:00:00+00:00


Chapter 5: Sharing Product

The beautiful part is how compatible the software is, not only between your tablet and computer, but also between widely varying devices, from supercomputers to cell phones, utilized by so many different users spanning the globe.

Worry not about copyright law violations. The Linux family of software has been released as open source, meaning you can share any code, programming, operating system and do so without exposure to legal ramifications.

You could possibly achieve hero status by sharing Linux technology you have found, with someone in your life who may be in dire straits.

Not all distros are compatible with every system, every piece of equipment or every other distro. This is primarily due to the vast number of different distributions created by so many different programmers. Because of this, sharing software may require more than just handing someone a USB drive.

Linux provides a veritable wealth of protocols that can be used to share files between computers. The protocol for you depends on how hands-on you’re wanting your work to be and if you need to be compatible with future Windows versions. The following sections explain various methods for transferring files from and to Linux devices. Make certain to have a good network connection; otherwise, function will be compromised. All scenarios require on a working name resolution within the network. If the network being used does not include a name service, use IP addresses directly.

In order to share files with SSH the following requirements need to be met on both the server and the client:

1. Make certain the hostnames of the IP addresses of both server and client are known network wide. Each of the hostnames absolutely must be listed in /etc/hosts, for both the server and also the client as well.

2. If a typical firewall is utilized, open the SSH port. Start YaST, at that point select Security and Users+Firewall. After that, go to Allowed Services and determine if SSH is then listed. If unlisted, select SSH from Service to Allow and then click Add. Apply the changes you made and leave YaST by using Next and Accept.

To share files from one server to one particular user, you will need to know where the desired files have been stored on the server. For example, in order to copy one specific file /srv/foo_file from the server over to the current folder, use this handy scp command.

scp [email protected]:/foo_file .

To share an entire directory structure, this recursive mode of scp will be what is needed:

scp -r [email protected]:/foo_directory .

For a chosen network which is not one that provides name resolution, people could use this server's IP address:

scp [email protected]:/foo_file .

Using the sftp Protocol for sharing files in KDE or GNOME with SFTP looks something like this:

Press Alt-F2.

Enter the line below into the address prompt:

sftp://[email protected]

Enter the password for tux on sun.example.com.

Drag and drop the server files or directories to the desktop or a chosen local directory.

KDE does provide another protocol that is called fish which can be used if sftp is not available at that time.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.